export default  class ListModel {
	constructor(index) {
		if(index > 0) {
			this["search$"+index] = {};
			this["query$"+index] = {
				data: [],
				pageSize: 10,
				recordsFiltered: 0,
				recordsTotal: 0,
				startIndex: 0,
				draw: 1
			};
		} else {
			this.search = {};
			this.query = {
				data: [],
				pageSize: 10,
				recordsFiltered: 0,
				recordsTotal: 0,
				startIndex: 0,
				draw: 1
			};
		}
	}
}